package com.math.aistudykbr.pojo.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;

import java.util.List;

@Data
public class AnalysisResult {

    @Id
    private String taskId;

    private List<LearningPathItem> learningPath; // 存储JSON字符串

    private KnowledgeGraph knowledgeGraph;

    private ReviewPlan reviewPlan;

    private List<DifficultyAnalysis> difficultyAnalysis;
}

@Data
class LearningPathItem {
    private String chapter;
    private String duration;
    private int difficultyLevel;
}

@Data
class KnowledgeGraph {
    private List<Node> nodes;
    private List<Edge> edges;
}

@Data
class Node {
private int id;
private String name;
}

@Data
class Edge {
    private int source;
    private int target;
    private String relation;
}

@Data
class ReviewPlan {
    private String day1;
    private String day2;
    private String day3;
    private String day4;
    private String day5;
}

@Data
class DifficultyAnalysis {
    private String chapter;
    private int difficultyLevel;
}
